<template>
  <div>
    <div class="w">
      <div class="i" v-for="item in 50" :key="item"></div>
      <div class="h">
        <h1>Don't Panic</h1>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Pacifico);

$itemWidth: 40px;
$url: 'http://unsplash.imgix.net/reserve/de9uL9L7RSmzV4SAoAO5_Lauren%20and%20Winona%20Under%20a%20pass-1.jpg?fit=crop&fm=jpg&h=1500&q=75&w=2400';
$url2: 'https://unsplash.imgix.net/reserve/PPE2xapKRNyy2DlTt89F_Gutman_island.jpg?fit=crop&fm=jpg&h=1500&q=75&w=2400';

body {
  background: #111b25;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  color: #fff;
  padding: 0;
  margin: 0;
}
h1 {
  font-family: 'Pacifico';
}

.w {
  margin: 0 auto;
  white-space: nowrap;
  max-width: 1200px;
  width: 100%;
  height: 600px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: rgba(#424242, 0.5) url($url2) repeat fixed;
  background-position: 50% 100%;
  background-size: cover;
  position: relative;
  z-index: 5;
  font-size: 0;
}
.i {
  width: $itemWidth;
  height: 100%;
  display: inline-block;
  position: relative;
  z-index: 4;
  padding: 2px;
  transition: all 1.3s ease-in-out;
  background: rgba(#424242, 0.5) url($url) repeat fixed;
  background-size: cover;
  background-position: 50% 100%;
  border-radius: 0%;

  &:hover {
    transition: all 0s linear;
    opacity: 0;
  }
}
.h {
  display: block;
  position: absolute;
  z-index: 2;
  width: 100%;
  text-align: center;
  top: 35px;
  font-size: 40px;
  color: rgba(245, 245, 220, 1);
  text-shadow: 0 5px 17px rgba(87, 87, 80, 0.85);
}
</style>
